import java.net.*;

class tryit {
	public static void main(String args[]) {
	try {
		InetAddress thispc = InetAddress.getLocalHost();
		byte[] add = thispc.getAddress();
		System.out.println("Address :");
		for(int i = 0; i < add.length; i++) {
			int unsignbyte = add[i] < 0 ? add[i] + 256 : add[i];
			System.out.print(unsignbyte + ".");
		}
		
	}
	catch(Exception ex) {
		System.out.println("Sorry");
	}
	
	}
}
